logfile = None